<template>
    <div class="top-wrapper">
      <div class="top-l">
        <div class="back-box"><img src="../../static/images/back.png" @click="back"> <span class="top-title">{{title}}</span></div>
      </div>
      <div class="top-c"></div>
    </div>
</template>

<script>
    export default {
        name: "top",
        props:{
          title:String
        },
        methods:{
          back(){
            this.$router.go(-1);
          }
        }
    }
</script>

<style lang="scss">

</style>
